//
//  MessageTableViewCell.h
//  MyWeChat
//
//  Created by 蔡欣东 on 15/10/5.
//  Copyright © 2015年 蔡欣东. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MessageInfo.h"
#import "UserInfo.h"
@interface MessageTableViewCell : UITableViewCell
@property(nonatomic,strong)UIImageView* avatar;
@property(nonatomic,strong)UILabel* messageLabel;
@property(nonatomic,strong)UIImageView* messageBackgroundView;

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier;

+(NSString*)reuseIdentifier;
+(CGFloat)heightForCell:(MessageInfo*)message;
-(void)setupMessageCell:(MessageInfo*)message andUser:(UserInfo*) user;
@end
